package cn.qiao.zk.product.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * desc:
 *
 * @author qiao
 * @date 2023年05月05日 21:06
 */
@RestController
public class ProductController {

    @RequestMapping(value = "/product/id",method = RequestMethod.GET)
    public String  get(HttpServletRequest request){
        return "访问 product  服务端口："+ request.getLocalPort();
    }


}
